gtk: Add GtkTransform
authorBenjamin Otte <otte@redhat.com>
Sun, 17 Feb 2019 11:54:04 +0000 (12:54 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 21 Feb 2019 18:47:27 +0000 (19:47 +0100)
commit49d83820a2cfdc547abd4d1f344fa6eea86178ac
tree608d600a3d4564422af6f15b9cf8ff686fee088f
parent70a1233a282df3b3d89d2b40d7a5c5f101805862
gtk: Add GtkTransform

This is a new object (well, boxed type, but I'm calling it object) for
dealing with transform in a more constructive way than graphene_matrix_t
by keeping track of how the transform was created.

This way, reasoning about the transform becomes easier, and we can create
better ways to print it or transition from one transform to another one.

An example of this is that while a 0 degree and a 360degree rotation are
both the identity matrix, doing a transition between the two would cause
a rotation.
docs/reference/gtk/gtk4-docs.xml
docs/reference/gtk/gtk4-sections.txt
gtk/gtk.h
gtk/gtktransform.c [new file with mode: 0644]
gtk/gtktransform.h [new file with mode: 0644]
gtk/gtktransformprivate.h [new file with mode: 0644]
gtk/gtktypes.h
gtk/meson.build